const  fs=require('fs');

//创建流式对象
const rs=fs.createReadStream('../资源/InvisibleUmbrella2.mp3');

//on绑定data事件  chunk块儿    
rs.on('data',chunk=>{
console.log(chunk.length);
});